package com.xsy.android.compose.wandroid.logic.base.paging

import com.xsy.android.compose.wandroid.logic.model.ArticleModel
import com.xsy.android.compose.wandroid.logic.network.Network

class ProjectPagingSource(private val cid: Int) : BasePagingSource() {
    override suspend fun getArticleList(page: Int): List<ArticleModel> {
        val apiResponse = Network.getProject(page, cid)
        return apiResponse.data.datas
    }
}